import { http } from "@/utils/http";
import baseUrlProxy from "@/api/baseUrlProxy";

export const get = (data?: object) => {
  return http.request<any>("get", baseUrlProxy + "/api/email", {
    params: data
  });
};
export const update = (data?: object) => {
  return http.request<any>("put", baseUrlProxy + "/api/email", {
    data: data
  });
};
export const send = (data?: object) => {
  return http.request<any>("post", baseUrlProxy + "/api/email", {
    data: data
  });
};
